home *** CD-ROM | disk | FTP | other *** search
/ Clickx 63 / Clickx 63.iso / software / multimedia / mirov204 / Miro_Installer.exe / xulrunner / chrome / toolkit.jar / content / global / xul.css < prev   
Encoding:
Cascading Style Sheet File  |  2008-04-21  |  24.5 KB  |  1,072 lines

  1. /** this should only contain XUL dialog and document window widget defaults. Defaults for widgets of
  2.     a particular application should be in that application's style sheet.
  3.     For example style definitions for navigator can be found in navigator.css
  4.  
  5.    THIS FILE IS LOCKED DOWN.  YOU ARE NOT ALLOWED TO MODIFY IT WITHOUT FIRST HAVING YOUR
  6.    CHANGES REVIEWED BY enndeakin@sympatico.ca
  7. **/
  8.  
  9. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */
  10. @namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */
  11. @namespace xbl url("http://www.mozilla.org/xbl"); /* namespace for XBL elements */
  12.  
  13. * {
  14.   -moz-user-focus: ignore;
  15.   -moz-user-select: -moz-none;
  16.   display: -moz-box;
  17. }
  18.  
  19. :root {
  20.   text-rendering: optimizeLegibility;
  21. }
  22.  
  23. /* hide the content and destroy the frame */
  24. *[hidden="true"] {
  25.   display: none;
  26. }
  27.  
  28. /* hide the content, but don't destroy the frames */
  29. *[collapsed="true"], 
  30. *[moz-collapsed="true"] {
  31.   visibility: collapse;
  32. }
  33.  
  34.  
  35. /* ::::::::::
  36.    :: Rules for 'hiding' portions of the chrome for special
  37.    :: kinds of windows (not JUST browser windows) with toolbars
  38.    ::::: */
  39.  
  40. window[chromehidden~="menubar"] .chromeclass-menubar,
  41. window[chromehidden~="directories"] .chromeclass-directories,
  42. window[chromehidden~="status"] .chromeclass-status,
  43. window[chromehidden~="extrachrome"] .chromeclass-extrachrome,
  44. window[chromehidden~="location"] .chromeclass-location,
  45. window[chromehidden~="location"][chromehidden~="toolbar"] .chromeclass-toolbar,
  46. window[chromehidden~="toolbar"] .chromeclass-toolbar-additional
  47. {
  48.   display: none;
  49. }
  50.  
  51. /* ::::::::::
  52.    :: Rules for forcing direction for entry and display of URIs
  53.    :: or URI elements
  54.    ::::: */
  55.  
  56. .uri-element
  57. {
  58.   direction: ltr !important;
  59. }
  60.  
  61. /****** elements that have no visual representation ******/
  62.  
  63. script, data,
  64. xbl|children,
  65. commands, commandset, command,
  66. broadcasterset, broadcaster, observes,
  67. keyset, key, toolbarpalette, toolbarset,
  68. template, rule, conditions, action, 
  69. bindings, binding, content, member, triple,
  70. treechildren, treeitem, treeseparator, treerow, treecell {
  71.   display: none;
  72. }
  73.  
  74. /********** focus rules **********/
  75.  
  76. button,
  77. checkbox,
  78. colorpicker[type="button"],
  79. datepicker[type="grid"],
  80. menulist,
  81. radiogroup,
  82. tree,
  83. browser,
  84. editor,
  85. iframe {
  86.   -moz-user-focus: normal;
  87. }
  88.  
  89. menulist[editable="true"] {
  90.   -moz-user-focus: ignore;
  91. }
  92.  
  93. /******** window & page ******/
  94.  
  95. window, 
  96. page {
  97.   overflow: -moz-hidden-unscrollable;
  98.   -moz-box-orient: vertical;
  99. }
  100.  
  101. /******** box *******/
  102.  
  103. vbox {
  104.   -moz-box-orient: vertical;
  105. }
  106.  
  107. bbox {
  108.   -moz-box-align: baseline;
  109. }
  110.  
  111. /********** button **********/
  112.  
  113. button {
  114.   -moz-binding: url("chrome://global/content/bindings/button.xml#button");
  115. }
  116.  
  117. button[type="repeat"] {
  118.   -moz-binding: url("chrome://global/content/bindings/button.xml#button-repeat");
  119. }
  120.  
  121. button[type="menu"] {
  122.   -moz-binding: url("chrome://global/content/bindings/button.xml#menu");
  123. }
  124.  
  125. button[type="menu-button"] {
  126.   -moz-binding: url("chrome://global/content/bindings/button.xml#menu-button");
  127. }
  128.  
  129. /********** toolbarbutton **********/
  130.  
  131. toolbarbutton {
  132.   -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton");
  133. }
  134.  
  135. toolbarbutton[type="menu"] {
  136.   -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#menu");
  137. }
  138.  
  139. toolbarbutton[type="menu-button"] {
  140.   -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#menu-button");
  141. }
  142.  
  143. /******** browser, editor, iframe ********/
  144.  
  145. browser,
  146. editor,
  147. iframe {
  148.   display: inline;
  149. }
  150.  
  151. browser {
  152.   -moz-binding: url("chrome://global/content/bindings/browser.xml#browser");
  153. }
  154.  
  155. editor {
  156.   -moz-binding: url("chrome://global/content/bindings/editor.xml#editor");
  157. }
  158.  
  159. iframe {
  160.   -moz-binding: url("chrome://global/content/bindings/general.xml#iframe");
  161. }
  162.  
  163. /********** notifications **********/
  164.  
  165. notificationbox {
  166.   -moz-binding: url("chrome://global/content/bindings/notification.xml#notificationbox");
  167.   -moz-box-orient: vertical;
  168.   overflow-y: hidden;
  169. }
  170.  
  171. notification {
  172.   -moz-binding: url("chrome://global/content/bindings/notification.xml#notification");
  173. }
  174.  
  175. /********** image **********/
  176.  
  177. image {
  178.   -moz-binding: url("chrome://global/content/bindings/general.xml#image");
  179. }
  180.  
  181. /********** checkbox **********/
  182.  
  183. checkbox {
  184.   -moz-binding: url("chrome://global/content/bindings/checkbox.xml#checkbox");
  185. }
  186.  
  187. /********** radio **********/
  188.  
  189. radiogroup {
  190.   -moz-binding: url("chrome://global/content/bindings/radio.xml#radiogroup");
  191.   -moz-box-orient: vertical;
  192. }
  193.  
  194. radio {
  195.   -moz-binding: url("chrome://global/content/bindings/radio.xml#radio");
  196. }
  197.  
  198. /******** groupbox *********/
  199.  
  200. groupbox {
  201.   -moz-binding: url("chrome://global/content/bindings/groupbox.xml#groupbox");
  202.   display: -moz-groupbox;
  203. }
  204.  
  205. caption {
  206.   -moz-binding: url("chrome://global/content/bindings/groupbox.xml#caption");
  207. }
  208.  
  209. .groupbox-body {
  210.   -moz-box-pack: inherit;
  211.   -moz-box-align: inherit;
  212.   -moz-box-orient: vertical;
  213. }
  214.  
  215. /******* toolbar *******/
  216.  
  217. toolbox { 
  218.   -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbox");
  219.   -moz-box-orient: vertical;
  220. }
  221.   
  222. toolbar {
  223.   -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar");
  224. }
  225.  
  226.  
  227. toolbarseparator {
  228.   -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbardecoration");
  229. }
  230.  
  231. toolbarspacer {
  232.   -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbardecoration");
  233. }
  234.  
  235. toolbarspring {
  236.   -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbardecoration");
  237.   -moz-box-flex: 1000;
  238. }
  239.  
  240. toolbarpaletteitem {
  241.   -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbarpaletteitem");
  242. }
  243.  
  244. toolbarpaletteitem[place="palette"] {
  245.   -moz-box-orient: vertical;
  246.   -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbarpaletteitem-palette");
  247. }
  248.  
  249. /********* menubar ***********/
  250.  
  251. menubar {
  252.   -moz-binding: url("chrome://global/content/bindings/toolbar.xml#menubar");
  253. }
  254.  
  255. /********* menu ***********/
  256.  
  257. menubar > menu {
  258.   -moz-binding: url("chrome://global/content/bindings/menu.xml#menu-menubar");
  259. }
  260.  
  261. menubar > menu.menu-iconic {
  262.   -moz-binding: url("chrome://global/content/bindings/menu.xml#menu-menubar-iconic");
  263. }
  264.  
  265. menu {
  266.   -moz-binding: url("chrome://global/content/bindings/menu.xml#menu");
  267. }
  268.   
  269. menu.menu-iconic {
  270.   -moz-binding: url("chrome://global/content/bindings/menu.xml#menu-iconic");
  271. }
  272.  
  273. menubar > menu:empty {
  274.   visibility: collapse;
  275. }
  276.  
  277. /********* menuitem ***********/
  278.  
  279. menuitem {
  280.   -moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem");
  281. }
  282.  
  283. menuitem.menuitem-iconic {
  284.   -moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic");
  285. }
  286.  
  287. menuitem[description] {
  288.   -moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic-desc-noaccel");
  289. }
  290.  
  291. menuitem[type="checkbox"],
  292. menuitem[type="radio"] {
  293.   -moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic");
  294. }
  295.  
  296. menuitem.menuitem-non-iconic {
  297.   -moz-binding: url("chrome://global/content/bindings/menu.xml#menubutton-item");
  298. }
  299.  
  300.  
  301. /********* menuseparator ***********/
  302.  
  303. menuseparator {
  304.   -moz-binding: url("chrome://global/content/bindings/menu.xml#menuseparator");
  305. }
  306.  
  307. /********* popup & menupopup ***********/
  308.  
  309. /* <popup> is deprecated.  Only <menupopup> and <tooltip> are still valid. */ 
  310.  
  311. popup,
  312. menupopup {
  313.   -moz-binding: url("chrome://global/content/bindings/popup.xml#popup");
  314.   -moz-box-orient: vertical;
  315. }
  316.  
  317. panel {
  318.   -moz-binding: url("chrome://global/content/bindings/popup.xml#panel");
  319.   -moz-box-orient: vertical;
  320. }
  321.  
  322. popup,
  323. menupopup,
  324. panel,
  325. tooltip {
  326.   display: -moz-popup;
  327.   z-index: 2147483647; 
  328. }
  329.  
  330. tooltip {
  331.   -moz-binding: url("chrome://global/content/bindings/popup.xml#tooltip");
  332.   -moz-box-orient: vertical;
  333.   white-space: pre-wrap;
  334.   margin-top: 21px;
  335. }
  336.  
  337. window[sizemode="maximized"] statusbarpanel.statusbar-resizerpanel {
  338.   visibility: collapse;
  339. }
  340.  
  341. /********** floating popups **********/
  342.  
  343. /*
  344. titlebar {
  345.   -moz-binding: url("chrome://global/content/bindings/popup.xml#titlebar");  
  346. }  
  347.  
  348. resizer[resizerdirection="right"] {
  349.   -moz-binding: url("chrome://global/content/bindings/popup.xml#ew-resizer");
  350. }  
  351.  
  352. resizer[resizerdirection="bottom"] {
  353.   -moz-binding: url("chrome://global/content/bindings/popup.xml#ns-resizer");
  354. }  
  355.  
  356. resizer[resizerdirection="bottomright"] {
  357.   -moz-binding: url("chrome://global/content/bindings/popup.xml#diag-resizer");  
  358. }  
  359.  
  360. floatingwindow {
  361.   -moz-binding: url("chrome://global/content/bindings/popup.xml#floater-normal");
  362.   -moz-box-orient: vertical;
  363.   display: none;
  364.   z-index: 2147483647; 
  365. }
  366.  
  367. floatingwindow[docked="left"] {
  368.   -moz-binding: url("chrome://global/content/bindings/popup.xml#floater-dock-left");
  369. }
  370.  
  371. button.popupClose {
  372.   -moz-binding: url("chrome://global/content/bindings/popup.xml#close-button") !important;
  373. }  
  374. */
  375. /******** grid **********/
  376.  
  377. grid {
  378.   display: -moz-grid;
  379. }
  380.  
  381. rows, 
  382. columns {
  383.   display: -moz-grid-group;
  384. }
  385.  
  386. row,
  387. column {
  388.   display: -moz-grid-line;
  389. }
  390.  
  391. rows {
  392.   -moz-box-orient: vertical;
  393. }
  394.  
  395. column {
  396.   -moz-box-orient: vertical;
  397. }
  398.  
  399. /******** listbox **********/
  400.  
  401. listbox {
  402.   -moz-binding: url("chrome://global/content/bindings/listbox.xml#listbox");
  403. }
  404.  
  405. listhead {
  406.   -moz-binding: url("chrome://global/content/bindings/listbox.xml#listhead");
  407. }
  408.  
  409. listrows {
  410.   -moz-binding: url("chrome://global/content/bindings/listbox.xml#listrows");
  411. }
  412.  
  413. listitem {
  414.   -moz-binding: url("chrome://global/content/bindings/listbox.xml#listitem");
  415. }
  416.  
  417. listitem[type="checkbox"] {
  418.   -moz-binding: url("chrome://global/content/bindings/listbox.xml#listitem-checkbox");
  419. }
  420.  
  421. listheader {
  422.   -moz-binding: url("chrome://global/content/bindings/listbox.xml#listheader");
  423.   -moz-box-ordinal-group: 2147483646;
  424. }
  425.  
  426. listcell {
  427.   -moz-binding: url("chrome://global/content/bindings/listbox.xml#listcell");
  428. }
  429.  
  430. listcell[type="checkbox"] {
  431.   -moz-binding: url("chrome://global/content/bindings/listbox.xml#listcell-checkbox");
  432. }
  433.  
  434. .listitem-iconic {
  435.   -moz-binding: url("chrome://global/content/bindings/listbox.xml#listitem-iconic");
  436. }
  437.  
  438. listitem[type="checkbox"].listitem-iconic {
  439.   -moz-binding: url("chrome://global/content/bindings/listbox.xml#listitem-checkbox-iconic");
  440. }
  441.  
  442. .listcell-iconic {
  443.   -moz-binding: url("chrome://global/content/bindings/listbox.xml#listcell-iconic");
  444. }
  445.  
  446. listcell[type="checkbox"].listcell-iconic {
  447.   -moz-binding: url("chrome://global/content/bindings/listbox.xml#listcell-checkbox-iconic");
  448. }
  449.  
  450. listbox {
  451.   display: -moz-grid;
  452. }
  453.  
  454. listbox[rows] {
  455.   height: auto;
  456. }
  457.  
  458. listcols, listhead, listrows, listboxbody {
  459.   display: -moz-grid-group;
  460. }
  461.  
  462. listcol, listitem, listheaditem {
  463.   display: -moz-grid-line;
  464. }
  465.  
  466. listbox {
  467.   -moz-user-focus: normal;
  468.   -moz-box-orient: vertical;
  469.   min-width: 0px;
  470.   min-height: 0px;
  471.   width: 200px;
  472.   height: 200px;
  473. }
  474.  
  475. listhead {
  476.   -moz-box-orient: vertical;
  477. }
  478.  
  479. listrows {
  480.   -moz-box-orient: vertical;
  481.   -moz-box-flex: 1;
  482. }
  483.  
  484. listboxbody {
  485.   -moz-box-orient: vertical;
  486.   -moz-box-flex: 1;
  487.   /* Don't permit a horizontal scrollbar. See bug 285449 */
  488.   overflow-x: hidden !important;
  489.   overflow-y: auto;
  490.   min-height: 0px;
  491. }
  492.  
  493. listcol {
  494.   -moz-box-orient: vertical;
  495.   min-width: 16px;
  496. }
  497.  
  498. listcell {
  499.   -moz-box-align: center;
  500. }
  501.  
  502. /******** tree ******/
  503.  
  504. tree {
  505.   -moz-binding: url("chrome://global/content/bindings/tree.xml#tree");
  506. }
  507.  
  508. treecols {
  509.   -moz-binding: url("chrome://global/content/bindings/tree.xml#treecols");
  510. }
  511.  
  512. treecol {
  513.   -moz-binding: url("chrome://global/content/bindings/tree.xml#treecol");
  514.   -moz-box-ordinal-group: 2147483646;
  515. }
  516.  
  517. treecol.treecol-image {
  518.   -moz-binding: url("chrome://global/content/bindings/tree.xml#treecol-image");
  519. }
  520.  
  521. tree > treechildren {
  522.   display: -moz-box;
  523.   -moz-binding: url("chrome://global/content/bindings/tree.xml#treebody");
  524.   -moz-user-select: none;
  525.   -moz-box-flex: 1;
  526. }
  527.  
  528. treerows {
  529.   -moz-binding: url("chrome://global/content/bindings/tree.xml#treerows");
  530. }
  531.  
  532. treecolpicker {
  533.   -moz-binding: url("chrome://global/content/bindings/tree.xml#columnpicker");
  534. }
  535.  
  536. tree {
  537.   -moz-box-orient: vertical;
  538.   min-width: 0px;
  539.   min-height: 0px;
  540.   width: 10px;
  541.   height: 10px;
  542. }
  543.  
  544. tree[hidecolumnpicker="true"] > treecols > treecolpicker {
  545.   display: none;
  546. }
  547.  
  548. treecol {
  549.   min-width: 16px;
  550. }
  551.  
  552. treecol[hidden="true"] {
  553.   visibility: collapse;
  554.   display: -moz-box;
  555. }
  556.  
  557. .tree-scrollable-columns {
  558.   /* Yes, Virginia, this makes it scrollable */
  559.   overflow: hidden;
  560. }
  561.  
  562. /********** deck & stack *********/
  563.  
  564. deck {
  565.   display: -moz-deck;
  566.   -moz-binding: url("chrome://global/content/bindings/general.xml#deck");
  567. }
  568.  
  569. stack, bulletinboard {
  570.   display: -moz-stack;
  571. }
  572.  
  573. /********** tabbox *********/
  574.  
  575. tabbox {
  576.   -moz-binding: url("chrome://global/content/bindings/tabbox.xml#tabbox");
  577.   -moz-box-orient: vertical;
  578. }
  579.  
  580. tabs {
  581.   -moz-binding: url("chrome://global/content/bindings/tabbox.xml#tabs");
  582.   -moz-box-orient: horizontal;
  583. }
  584.  
  585. /**
  586.  * XXXben - this looks like something added specifically for tabbrowser.
  587.  *          if it turns out no one uses this that can't easily be evangelized to
  588.  *          use their own roll-your-own binding, then we should get rid of this
  589.  *          to tighten up the toolkit api. This binding made obsolete in Firefox
  590.  *          by 308396. 
  591.  */
  592. tabs[closebutton="true"] {
  593.   -moz-binding: url("chrome://global/content/bindings/tabbox.xml#tabs-closebutton");
  594. }
  595.  
  596. tab {
  597.   -moz-binding: url("chrome://global/content/bindings/tabbox.xml#tab");
  598.   -moz-box-align: center;
  599.   -moz-box-pack: center;
  600. }
  601.  
  602. tabpanels {
  603.   -moz-binding: url("chrome://global/content/bindings/tabbox.xml#tabpanels");
  604.   display: -moz-deck;
  605. }
  606.  
  607. /********** progressmeter **********/
  608.  
  609. progressmeter {
  610.   -moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter");
  611. }
  612.  
  613. /********** basic rule for anonymous content that needs to pass box properties through
  614.  ********** to an insertion point parent that holds the real kids **************/
  615.  
  616.  .box-inherit {
  617.    -moz-box-orient: inherit;
  618.    -moz-box-pack: inherit;
  619.    -moz-box-align: inherit;
  620.    -moz-box-direction: inherit;
  621. }
  622.  
  623. /********** label **********/
  624.  
  625. description {
  626.   -moz-binding: url("chrome://global/content/bindings/text.xml#text-base");
  627. }
  628.  
  629. label {
  630.   -moz-binding: url("chrome://global/content/bindings/text.xml#text-label");
  631. }
  632.  
  633. label.text-link, label[onclick] {
  634.   -moz-binding: url("chrome://global/content/bindings/text.xml#text-link");
  635.   -moz-user-focus: normal;
  636. }
  637.  
  638. label[control], label.radio-label, label.checkbox-label {
  639.   -moz-binding: url("chrome://global/content/bindings/text.xml#label-control");
  640. }
  641.  
  642. html|span.accesskey {
  643.   text-decoration: underline;
  644. }
  645.  
  646. /********** textbox **********/
  647.  
  648. textbox {
  649.   -moz-binding: url("chrome://global/content/bindings/textbox.xml#textbox");
  650.   -moz-user-select: text;
  651. }
  652.  
  653. textbox[multiline="true"] {
  654.   -moz-binding: url("chrome://global/content/bindings/textbox.xml#textarea");
  655. }
  656.  
  657. html|*.textbox-input {
  658.   -moz-appearance: none !important;
  659.   text-align: inherit;
  660. }
  661.  
  662. html|*.textbox-textarea {
  663.   -moz-appearance: none !important;
  664. }
  665.  
  666. .textbox-input-box {
  667.   -moz-binding: url("chrome://global/content/bindings/textbox.xml#input-box");
  668. }
  669.  
  670. .textbox-input-box[spellcheck="true"] {
  671.   -moz-binding: url("chrome://global/content/bindings/textbox.xml#input-box-spell");
  672. }
  673.  
  674. textbox[type="timed"] {
  675.   -moz-binding: url("chrome://global/content/bindings/textbox.xml#timed-textbox");
  676. }
  677.  
  678. textbox[type="number"] {
  679.   -moz-binding: url("chrome://global/content/bindings/numberbox.xml#numberbox");
  680. }
  681.  
  682. /********** autocomplete textbox **********/
  683.  
  684. /* thunderbird and Nvu don't use the new toolkit's autocomplete widget yet.... */
  685.  
  686.  
  687.  
  688. textbox[type="autocomplete"] {
  689.   -moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete");
  690. }
  691.  
  692. panel[type="autocomplete"] {
  693.   -moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete-result-popup");
  694. }
  695.  
  696. panel[type="autocomplete-richlistbox"] {
  697.   -moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete-rich-result-popup");
  698. }
  699.  
  700. .autocomplete-tree {
  701.   -moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete-tree");
  702.   -moz-user-focus: ignore;
  703. }
  704.  
  705. .autocomplete-treebody {
  706.   -moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete-treebody");
  707. }
  708.  
  709. .autocomplete-richlistbox {
  710.   -moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete-richlistbox");
  711.   -moz-user-focus: ignore;
  712.   -moz-appearance: none;
  713. }
  714.  
  715. .autocomplete-richlistbox > scrollbox {
  716.   overflow-x: hidden !important;
  717. }
  718.  
  719. .autocomplete-richlistitem {
  720.   -moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete-richlistitem");
  721.   -moz-box-orient: vertical;
  722.   overflow: -moz-hidden-unscrollable;
  723. }
  724.  
  725. .autocomplete-treerows {
  726.   -moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete-treerows");
  727. }
  728.  
  729. .autocomplete-history-dropmarker {
  730.   display: none;
  731. }
  732.  
  733. .autocomplete-history-dropmarker[enablehistory="true"] {
  734.   display: -moz-box;
  735.   -moz-binding: url("chrome://global/content/bindings/autocomplete.xml#history-dropmarker");
  736. }
  737.  
  738.  
  739.  
  740.  
  741. /* the C++ implementation of widgets is too eager to make popups visible.
  742.    this causes problems (bug 120155 and others), thus this workaround: */
  743. popup[type="autocomplete"][hidden="true"] {
  744.   visibility: hidden;
  745. }
  746.  
  747. /* The following rule is here to fix bug 96899 (and now 117952).  
  748.    Somehow trees create a situation
  749.    in which a popupset flows itself as if its popup child is directly within it
  750.    instead of the placeholder child that should actually be inside the popupset.
  751.    This is a stopgap measure, and it does not address the real bug.  */
  752. .autocomplete-result-popupset {
  753.   max-width: 0px;
  754.   width: 0 !important;
  755. }
  756.  
  757. /********** colorpicker **********/
  758.  
  759. colorpicker {
  760.   -moz-binding: url("chrome://global/content/bindings/colorpicker.xml#colorpicker");
  761. }
  762.  
  763. colorpicker[type="button"] {
  764.   -moz-binding: url("chrome://global/content/bindings/colorpicker.xml#colorpicker-button");
  765. }
  766.  
  767. .colorpickertile {
  768.   -moz-binding: url("chrome://global/content/bindings/colorpicker.xml#colorpickertile");
  769. }
  770.  
  771. /********** menulist **********/
  772.  
  773. menulist {
  774.   -moz-binding: url("chrome://global/content/bindings/menulist.xml#menulist");
  775. }
  776.  
  777. menulist[editable="true"] {
  778.   -moz-binding: url("chrome://global/content/bindings/menulist.xml#menulist-editable");
  779. }
  780.  
  781. menulist[type="description"] {
  782.   -moz-binding: url("chrome://global/content/bindings/menulist.xml#menulist-description");
  783. }
  784.  
  785. html|*.menulist-editable-input {
  786.   -moz-appearance: none !important;
  787.   background: transparent ! important;
  788. }
  789.  
  790. menulist > menupopup > menuitem {
  791.   -moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic-noaccel");
  792. }
  793.  
  794. dropmarker {
  795.   -moz-binding: url("chrome://global/content/bindings/general.xml#dropmarker");
  796. }
  797.  
  798. /********** splitter **********/
  799.  
  800. splitter {
  801.   -moz-binding: url("chrome://global/content/bindings/splitter.xml#splitter");
  802. }
  803.  
  804. grippy {
  805.   -moz-binding: url("chrome://global/content/bindings/splitter.xml#grippy");
  806. }
  807.  
  808. .tree-splitter {
  809.   width: 0px;
  810.   max-width: 0px;
  811.   min-width: 0% ! important;
  812.   min-height: 0% ! important;
  813.   -moz-box-ordinal-group: 2147483646;
  814. }
  815.  
  816. /********** scrollbar **********/
  817.  
  818. /* Scrollbars are never flipped even if BiDI kicks in. */
  819. scrollbar {
  820.   direction: ltr;
  821. }
  822.  
  823. thumb {
  824.   -moz-binding: url(chrome://global/content/bindings/scrollbar.xml#thumb);
  825.   display: -moz-box !important;
  826. }
  827.  
  828. .scale-thumb {
  829.   -moz-binding: url(chrome://global/content/bindings/scale.xml#scalethumb);
  830. }
  831.  
  832. scrollbar, scrollbarbutton, scrollcorner, slider, thumb, scale {
  833.   -moz-user-select: none;
  834. }
  835.  
  836. scrollcorner {
  837.   display: -moz-box !important;
  838. }
  839.  
  840. scrollcorner[hidden="true"] {
  841.   display: none !important;
  842. }
  843.  
  844. scrollbar[value="hidden"] {
  845.   visibility: hidden;
  846. }
  847.  
  848. scale {
  849.   -moz-binding: url(chrome://global/content/bindings/scale.xml#scale);
  850. }
  851.  
  852. .scale-slider {
  853.   -moz-binding: url(chrome://global/content/bindings/scale.xml#scaleslider);
  854.   -moz-user-focus: normal;
  855. }
  856.  
  857. scrollbarbutton[sbattr="scrollbar-up-top"]:not(:-moz-system-metric(scrollbar-start-backward)),
  858. scrollbarbutton[sbattr="scrollbar-down-top"]:not(:-moz-system-metric(scrollbar-start-forward)),
  859. scrollbarbutton[sbattr="scrollbar-up-bottom"]:not(:-moz-system-metric(scrollbar-end-backward)),
  860. scrollbarbutton[sbattr="scrollbar-down-bottom"]:not(:-moz-system-metric(scrollbar-end-forward)) {
  861.   display: none;
  862. }
  863.  
  864. thumb[sbattr="scrollbar-thumb"]:-moz-system-metric(scrollbar-thumb-proportional) {
  865.   -moz-box-flex: 1;
  866. }
  867.  
  868. /******** scrollbox ********/
  869.  
  870. scrollbox {
  871.   -moz-binding: url("chrome://global/content/bindings/scrollbox.xml#scrollbox");
  872.   /* This makes it scrollable! */
  873.   overflow: hidden;
  874. }
  875.  
  876. arrowscrollbox {
  877.   -moz-binding: url("chrome://global/content/bindings/scrollbox.xml#arrowscrollbox");
  878. }
  879.  
  880. arrowscrollbox[clicktoscroll="true"] {
  881.   -moz-binding: url("chrome://global/content/bindings/scrollbox.xml#arrowscrollbox-clicktoscroll");
  882. }
  883.  
  884. autorepeatbutton {
  885.   -moz-binding: url("chrome://global/content/bindings/scrollbox.xml#autorepeatbutton");
  886. }
  887.  
  888. /********** statusbar **********/
  889.  
  890. statusbar 
  891. {
  892.   -moz-binding: url("chrome://global/content/bindings/general.xml#statusbar");
  893. }
  894.  
  895. statusbarpanel {
  896.   -moz-binding: url("chrome://global/content/bindings/general.xml#statusbarpanel");
  897. }
  898.  
  899. .statusbarpanel-iconic {
  900.   -moz-binding: url("chrome://global/content/bindings/general.xml#statusbarpanel-iconic");
  901. }
  902.  
  903. .statusbarpanel-iconic-text {
  904.   -moz-binding: url("chrome://global/content/bindings/general.xml#statusbarpanel-iconic-text");
  905. }
  906.  
  907. .statusbarpanel-menu-iconic {
  908.   -moz-binding: url("chrome://global/content/bindings/general.xml#statusbarpanel-menu-iconic");
  909. }
  910.  
  911. /********** spinbuttons ***********/
  912.  
  913. spinbuttons {
  914.   -moz-binding: url("chrome://global/content/bindings/spinbuttons.xml#spinbuttons");
  915. }
  916.  
  917. .spinbuttons-button {
  918.   -moz-user-focus: ignore;
  919. }
  920.  
  921. /********** stringbundle **********/
  922.  
  923. stringbundleset {
  924.   -moz-binding: url("chrome://global/content/bindings/stringbundle.xml#stringbundleset");
  925.   visibility: collapse;
  926. }
  927.  
  928. stringbundle {
  929.   -moz-binding: url("chrome://global/content/bindings/stringbundle.xml#stringbundle");
  930.   visibility: collapse;
  931. }
  932.  
  933. /********** dialog **********/
  934.  
  935. dialog {
  936.   -moz-binding: url("chrome://global/content/bindings/dialog.xml#dialog");
  937.   -moz-box-orient: vertical;
  938. }
  939.  
  940. dialogheader {
  941.   -moz-binding: url("chrome://global/content/bindings/dialog.xml#dialogheader");
  942. }
  943.  
  944. /********* page ************/
  945.  
  946. page {
  947.   -moz-box-orient: vertical;
  948. }
  949.  
  950. /********** wizard **********/
  951.  
  952. wizard {
  953.   -moz-binding: url("chrome://global/content/bindings/wizard.xml#wizard");
  954.   -moz-box-orient: vertical;
  955.   width: 40em;
  956.   height: 30em;
  957. }
  958.  
  959. wizardpage {
  960.   -moz-binding: url("chrome://global/content/bindings/wizard.xml#wizardpage");
  961.   -moz-box-orient: vertical;
  962.   overflow: auto;
  963. }
  964.  
  965. .wizard-header {
  966.   -moz-binding: url("chrome://global/content/bindings/wizard.xml#wizard-header");
  967. }
  968.  
  969. .wizard-buttons {
  970.   -moz-binding: url("chrome://global/content/bindings/wizard.xml#wizard-buttons");
  971. }
  972.  
  973. /********** preferences ********/
  974.  
  975. prefwindow {
  976.   -moz-binding: url("chrome://global/content/bindings/preferences.xml#prefwindow");  
  977.   -moz-box-orient: vertical;
  978. }
  979.  
  980. prefpane {
  981.   -moz-binding: url("chrome://global/content/bindings/preferences.xml#prefpane");  
  982.   -moz-box-orient: vertical;
  983. }
  984.  
  985. prefwindow > .paneDeckContainer {
  986.   overflow: hidden;
  987. }
  988.  
  989. prefpane > .content-box {
  990.   overflow: hidden;
  991. }
  992.  
  993. prefwindow[type="child"] > .paneDeckContainer {
  994.   overflow: -moz-hidden-unscrollable;
  995. }
  996.  
  997. prefwindow[type="child"] > prefpane > .content-box {
  998.   -moz-box-flex: 1;
  999.   overflow: -moz-hidden-unscrollable;
  1000. }
  1001.  
  1002. preferences {
  1003.   -moz-binding: url("chrome://global/content/bindings/preferences.xml#preferences");
  1004.   visibility: collapse;
  1005. }
  1006.  
  1007. preference {
  1008.   -moz-binding: url("chrome://global/content/bindings/preferences.xml#preference");  
  1009.   visibility: collapse;
  1010. }
  1011.  
  1012. radio[pane] {
  1013.   -moz-binding: url("chrome://global/content/bindings/preferences.xml#panebutton") !important; 
  1014.   -moz-box-orient: vertical;
  1015.   -moz-appearance: none;
  1016.   -moz-box-align: center;
  1017. }
  1018.  
  1019. prefwindow[chromehidden~="toolbar"] .chromeclass-toolbar
  1020. {
  1021.   display: none;
  1022. }
  1023.  
  1024. /********** expander ********/
  1025.  
  1026. expander {
  1027.   -moz-binding: url("chrome://global/content/bindings/expander.xml#expander");
  1028.   -moz-box-orient: vertical;
  1029. }
  1030.  
  1031.  
  1032. /********** Rich Listbox ********/
  1033.  
  1034. richlistbox {
  1035.   -moz-binding: url('chrome://global/content/bindings/richlistbox.xml#richlistbox');
  1036.   -moz-user-focus: normal;
  1037.   -moz-appearance: listbox;
  1038.   -moz-box-orient: vertical;
  1039. }
  1040.  
  1041. richlistitem {
  1042.   -moz-binding: url('chrome://global/content/bindings/richlistbox.xml#richlistitem');
  1043. }
  1044.  
  1045. richlistbox > listheader {
  1046.   -moz-box-ordinal-group: 1;
  1047. }
  1048.  
  1049. /********** datepicker and timepicker ********/
  1050.  
  1051. datepicker {
  1052.   -moz-binding: url('chrome://global/content/bindings/datetimepicker.xml#datepicker');
  1053. }
  1054.  
  1055. datepicker[type="popup"] {
  1056.   -moz-binding: url('chrome://global/content/bindings/datetimepicker.xml#datepicker-popup');
  1057. }
  1058.  
  1059. datepicker[type="grid"] {
  1060.   -moz-binding: url('chrome://global/content/bindings/datetimepicker.xml#datepicker-grid');
  1061. }
  1062.  
  1063. timepicker {
  1064.   -moz-binding: url('chrome://global/content/bindings/datetimepicker.xml#timepicker');
  1065. }
  1066.  
  1067.  
  1068. /*********** findbar ************/
  1069. findbar {
  1070.   -moz-binding: url('chrome://global/content/bindings/findbar.xml#findbar');
  1071. }
  1072.